package com.foreknow.demo5;

public class Employee {
    private String staffid;
    private String name;
    private String dept;
    private double salary;

    public Employee() {

    }

    public Employee(String staffid,String name,String dept,double salary) {
        this.staffid = staffid;
        this.name = name;
        this.dept = dept;
        this.salary = salary;
    }

    public String getStaffid() {
        return staffid;
    }

    public void setStaffid(String staffid) {
        this.staffid = staffid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}
